package com.github.data_manage.dao

import com.github.data_manage.domain.po.FundDepthResearchContrastAttachAnnualInfo

/**
 *
 * @author chenhainan
 * @since 2025/8/15
 */
interface FundDepthResearchContrastAttachAnnualInfoDao: BaseDao<FundDepthResearchContrastAttachAnnualInfo> {


    fun findByFundIdIsAndContrastIdIsAndYearIs(fundId: Int, contrastId: Int, year: Int): FundDepthResearchContrastAttachAnnualInfo?

    fun findAllByFundId(fundId: Int): List<FundDepthResearchContrastAttachAnnualInfo>

    fun findAllByFundIdIsAndContrastIdIn(baseFundId: Int, contrastIds: List<Int>): List<FundDepthResearchContrastAttachAnnualInfo>


}